This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Input): added disabled and readonly
- Loading branch information
1 parent
0df6d8b
commit 1531349
Showing
5 changed files
with
58 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script> | ||
import TextField from "svelte-materialify/src/components/TextField"; | ||
import { Row, Col } from "svelte-materialify/src/components/Grid"; | ||
</script> | ||
|
||
<Row> | ||
<Col> | ||
<TextField disabled value="Hello">Regular</TextField> | ||
<br /> | ||
<TextField disabled filled value="Hello">Filled</TextField> | ||
<br /> | ||
<TextField disabled outlined value="Hello">Outlined</TextField> | ||
<br /> | ||
<TextField disabled solo value="Hello" /> | ||
</Col> | ||
<Col> | ||
<TextField readonly value="Hello">Regular</TextField> | ||
<br /> | ||
<TextField readonly filled value="Hello">Filled</TextField> | ||
<br /> | ||
<TextField readonly outlined value="Hello">Outlined</TextField> | ||
<br /> | ||
<TextField readonly solo value="Hello" /> | ||
</Col> | ||
</Row> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters