mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
webui: fix field's default value
Fields with default value, such as DNS Zone's idnsforwardpolicy, were marked as dirty when no value was loaded and when default value of input control was other than empty. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
15374cf58f
commit
bfdf9039ce
@ -252,7 +252,7 @@ field.field = IPA.field = function(spec) {
|
||||
* Default value
|
||||
* @property {Mixed}
|
||||
*/
|
||||
that.default_value = null;
|
||||
that.default_value = spec.default_value || null;
|
||||
|
||||
/**
|
||||
* Field is dirty (value is modified)
|
||||
|
Loading…
Reference in New Issue
Block a user