mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: now label can be hidden
This commit is contained in:
1 parent
0c4a9ef73e
commit
b509c2c823
1 file changed
+2
-1
@@ -3,6 +3,7 @@
|
||||
import { FormItem } from '.';
|
||||
|
||||
export let label: string;
|
||||
export let showLabel = true;
|
||||
export let id: string;
|
||||
export let value = '';
|
||||
export let placeholder = '';
|
||||
@@ -22,7 +23,7 @@
|
||||
</script>
|
||||
|
||||
<FormItem>
|
||||
<label class="label" for={id}>{label}</label>
|
||||
<label class:u-hide={!showLabel} class="label" for={id}>{label}</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
{id}
|
||||
|
||||
Reference in new issue
Block a user