mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 12:31:37 +02:00
Show submit button disabled instead of hidden on pageform.
This commit is contained in:
parent
227c197692
commit
47f6d531b2
2 changed files with 6 additions and 5 deletions
|
@ -111,11 +111,11 @@
|
|||
(layout-input data "notebook")
|
||||
(layout-input data "desktop")]
|
||||
|
||||
(when valid?
|
||||
[:input#project-btn.btn-primary
|
||||
{:value "Go go go!"
|
||||
:on-click on-save
|
||||
:type "button"}])])))
|
||||
[:input#project-btn.btn-primary
|
||||
{:value "Go go go!"
|
||||
:disabled (not valid?)
|
||||
:on-click on-save
|
||||
:type "button"}]])))
|
||||
|
||||
(mx/defc page-form-lightbox
|
||||
{:mixins [mx/static (forms/clear-mixin st/store :workspace-page-form)]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue