Fix bind problem
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
<div>
|
||||
<div>
|
||||
<label for="Name">Name</label>
|
||||
<input type="text" placeholder="Name" @bind-value=obj.Name />
|
||||
<input type="text" placeholder="Name" @bind=obj.Name />
|
||||
</div>
|
||||
<div>
|
||||
<label for="Description">Description</label>
|
||||
<textarea type="text" placeholder="Description" @bind-value=obj.Description />
|
||||
<textarea type="text" placeholder="Description" @bind=obj.Description />
|
||||
</div>
|
||||
<div>
|
||||
<label for="Images">Images</label>
|
||||
@@ -24,11 +24,11 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="Cost">Cost</label>
|
||||
<input type="number" placeholder="Cost" @bind-value=obj.Cost />
|
||||
<input type="number" placeholder="Cost" @bind=obj.Cost />
|
||||
</div>
|
||||
<div>
|
||||
<label for="Url">ItemURL</label>
|
||||
<input type="text" placeholder="Url" @bind-value=obj.URL />
|
||||
<input type="text" placeholder="Url" @bind=obj.URL />
|
||||
</div>
|
||||
<button type="submit" @onclick="Submit">Submit</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user