Hide form title via URL param (#89)

* Hide form title via URL param

* FormUrlPrefill smal fixes
This commit is contained in:
Chirag Chhatrala
2023-02-22 21:09:13 +05:30
committed by GitHub
parent b101a5daba
commit 47964ec565
8 changed files with 110 additions and 15 deletions

View File

@@ -12,7 +12,8 @@ export default {
components: { },
props: {
value: { type: Boolean, default: false }
value: { type: Boolean, default: false },
disabled: { type: Boolean, default: false }
},
data () {
@@ -35,6 +36,7 @@ export default {
methods: {
onClick () {
if(this.disabled) return
this.$emit('input', !this.internalValue)
this.internalValue = !this.internalValue
}