mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
AddAddress: adding a new stickyActions option
This commit is contained in:
@@ -24,6 +24,7 @@ export default {
|
||||
props: [ 'options', 'default' ],
|
||||
computed: {
|
||||
isStickyForm() {
|
||||
return (typeof this.options.stickyActions !== 'undefined') ? this.options.stickyActions : this.default.stickyActions;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -38,9 +38,11 @@ containers.forEach((container) => {
|
||||
create: container.dataset.modalTitle || null,
|
||||
edit: container.dataset.modalTitle || null
|
||||
},
|
||||
// Use Date fields
|
||||
/// Display panes in Modal for step123
|
||||
openPanesInModal: container.dataset.openPanesInModal !== 'false', //boolean, default: true
|
||||
/// Display actions buttons of panes in a sticky-form-button navbar
|
||||
stickyActions: container.dataset.stickyActions === 'true', //boolean, default: false
|
||||
/// Use Date fields
|
||||
useDate: {
|
||||
validFrom: container.dataset.useValidFrom === 'true', //boolean, default: false
|
||||
validTo: container.dataset.useValidTo === 'true' //boolean, default: false
|
||||
|
Reference in New Issue
Block a user