Commit Graph

25 Commits

Author SHA1 Message Date
Samuel Georges f8c3eac9c6 Streamline data-input-preset in to FormField API 2015-03-07 10:45:22 +11:00
Samuel Georges 7e3cf98a75 Adds data-trigger-closest-parent to Trigger API
Test code:

<form id="form1">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>

<form id="form2">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>
2015-03-07 09:47:44 +11:00
Pásztor Gábor f8cb3900f0 Add validation rules for mail settings. 2015-02-21 19:55:37 +01:00
Samuel Georges c746ba5c2b Disabled property on form fields should work 2015-02-21 17:09:21 +11:00
Samuel Georges 536a391754 Add basic trigger implementation to Form Field
Implement trigger on Mail Settings page
2015-02-18 18:12:20 +11:00
Samuel Georges 6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges 03eb949e71 Add illuminate/html package, DB -> Db, HTML -> Html 2015-02-04 20:03:44 +11:00
Samuel Georges 167d113c12 depends -> dependsOn
Hidden fields now retain their container div (hidden when empty)
2015-01-29 20:32:24 +11:00
n.kolesnichenko 3013935374 Bug fix. There is no Aliasing to Model class in FormField class. 2015-01-19 10:47:43 +03:00
Samuel Georges b74b19741b Unify the logic for getting field values from a dataset
Amongst Form Widgets and "the" Form widget
ping @alekseybobkov
2015-01-05 12:54:14 +11:00
Samuel Georges ab24c547a2 Move NO_SAVE_DATA to FormField 2014-12-05 16:46:04 +11:00
Sam Georges f458fb7704 Overhaul Form layouts, adds FormTabs.php class for managing tab properties 2014-11-12 07:33:58 +11:00
Sam Georges c32ba4cbad Minor code clean 2014-11-04 17:41:48 +11:00
Stefan Talen 7dc24cfff1 Updating backend/classes 2014-10-10 23:12:50 +02:00
Sam Georges 8d5253930d Form fields can now be marked as hidden 2014-10-08 18:55:09 +11:00
Sam Georges 746f425d88 Added new containerAttributes property to form fields 2014-09-25 18:05:35 +10:00
Sam Georges c8f3c640b8 columnName -> fieldName + general improvements to FormWidgetBase 2014-09-17 16:07:06 +10:00
Sam Georges 4763c9598a Add valueFrom to form field, rename field->columnName to field->fieldName 2014-09-17 14:43:24 +10:00
Sam Georges 766875fac5 Switch to evalHtmlId helper 2014-09-06 21:57:23 +10:00
Sam Georges 8b7bbd1062 Add 'partial' type to list columns. 2014-08-01 10:42:14 +10:00
Sam Georges 8bca148d31 Adds the ability to specify a custom array name for a form field 2014-07-19 11:43:26 +10:00
Sam Georges 4a9fe06d50 Form fields can now define "depends" to refresh individual fields when they are changed
Form field options can now be deferred using a closure
2014-06-29 13:36:25 +10:00
Sam Georges 294961cf8a Refactor how the Form widget manages fields.
Widgets no longer need to pass configuration through "options".
2014-06-19 21:43:00 +10:00
Pascal Borreli 459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00