ChangeLog
0.17.0 (2024-07-28)
Fixed
Code was fixed to work with latest changed to Reblocks, introduced in PR 57.
0.16.0 (2022-12-12)
Changed
Functions
reblocks-ui/form:error-placeholder(12) andreblocks-ui/form:form-error-placeholdernow can be called not only inside thereblocks-ui/form:with-html-formmacro body, but also in any function within.Added
CSSattribute display none/block for popup.
0.15.0 (2022-11-26)
New
Functions reblocks-ui/form:get-field-errors-count and reblocks-ui/form:get-field-errors
were added to make it possible to check if there was any field errors during validation
and to interrupt further form processing.
An example was added to show how to process form errors and use placeholders. You'll find it inside examples/form-errors.lisp file. Load reblocks-ui-examples system to load it.
Fixed
Also, function a but inside reblocks-ui/form:form-error function was fixed and now it
will interrupt action and show an error inside a placeholder, created with
reblocks-ui/form:form-error-placeholder function or open debugger otherwise.
Previosly this function call was ignored if there was a form error placeholder widget on a page.
0.14.0 (2022-09-17)
New
New class
reblocks-ui/popup:popup-widgetwas added. It can be used to show popup windows inside the main screen.
0.13.0 (2022-02-14)
Backward Incompabilities
Now action execution continues after the call to
reblocks-ui/form:form-error(12) orreblocks-ui/form:field-error(12). This way, all form errors could be shown at once.CSSclasses for placeholders were changed.reblocks-ui/form:error-placeholder(12) now uses "form-error" instead of just "error" andreblocks-ui/form:form-error-placeholderuses "alert callout" instead of "error".Argument
WIDGETwas removed fromreblocks-ui/form:with-html-formmacro.
Changes
Documentation was rewritten using
40ANTS-DOC. Now it contains more information plus interactive demos.
Fixes
Fixed to work with latest Spinneret which now escapes double and single quotes.
0.12.0 (2022-01-04)
Move to Reblocks.
0.11.0 (2021-06-02)
Added a way to handle and show form and field errors.
Use error-placeholder function and form-error-placeholder function
inside the with-html-form macro. And signal errors using field-error
and form-error functions.
0.10.0 (2021-01-07)
Macro
with-html-formnow can accept parametersrequires-confirmation-pandconfirm-question. Ifrequires-confirmation-pis given, form shows a popup asking if user really wants to execute an action. Argumentconfirm-questioncan accept a string or a forms for spinneret. They will be used to render the content of the popup.
0.9.0 (2020-01-31)
widgetwas renamed toui-widgetand a deprecation warning was added.
0.8.0 (2018-05-04)
Do not use
fieldsetinwith-html-form. It usually draws a box around the form elements and this isn't always wanted.
0.7.1 (2018-02-10)
Function
render-buttonnow supports keyword argument:onclick.
0.7.0 (2018-02-06)
Added initialization of Foundation's javascript plugins. This introduces dependency from
weblocks-parenscript.
0.6.0 (2018-02-01)
System was moved to package inferred class and fixed to work with weblocks >= 0.25.0.
0.5.0 (2018-01-11)
Now
*foundation-dependencies*is exported fromweblocks.ui.core. This is a list ofCSSanJSdependencies of Zurb Foundation, which you can with to add to your application wide dependencies list to render pages without widgets, such as error pages.
0.4.0 (2018-01-07)
Fixed to work with weblocks >= 0.22.0
0.3.0 (2017-11-23)
Package
weblocks.ui.formwas fixed to usespinneretinstead ofcl-who, becausereblocksversion ofWeblocksmoved to it.
0.2.0 (2017-11-11)
Now
UIwidgets are depend on newweblocks.widget:widgetclass.
This is breaking rendering for widgets. Replace old weblocks:render-body
methods with weblocks.widget:render.
0.1.1 (2017-09-21)
Code was fixed to work with weblocks 0.14.0 where
*action-string*was moved to weblocks.variables.Added
weblocks.ui.form:render-linkfunction, from oldweblocks/utils/html.lisp.
0.1.0 (2017-09-01)
Initial version.