Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f4dfe6f
docs(common): Prefix and Suffix documentation
ntacheva Jan 2, 2024
48246e6
chore(common): add more sections
ntacheva Jan 11, 2024
9e82ecd
docs(common): add prefix and suffix info and exmaples
ntacheva Jan 11, 2024
c43b051
docs(common):add floating label specifics
ntacheva Jan 12, 2024
fdd9956
docs(common):fixes
ntacheva Jan 12, 2024
38dd7e0
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
17e72b0
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
f2071b7
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
6d15a51
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
65e0013
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
10e2c6a
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
56b4209
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
06e4066
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
720032a
Update _contentTemplates/common/inputs.md
ntacheva Jan 29, 2024
70b1b19
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
e15a10d
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
b0be98f
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
5d23910
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
56e72ca
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
2ce4ec1
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
f8bd858
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
d5b232a
Update common-features/input-adornments.md
ntacheva Jan 29, 2024
faf6825
chore(adornments): address feedback
ntacheva Jan 29, 2024
adbb682
chore(adornments): document dropdowns specifics
ntacheva Jan 29, 2024
e0ef765
Update knowledge-base/textbox-add-icon.md
ntacheva Jan 29, 2024
8654d7e
Update _contentTemplates/common/inputs.md
ntacheva Jan 29, 2024
183052c
chore(common): update versio and note in kb
ntacheva Jan 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions _contentTemplates/common/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,36 @@ Also check the dedicated KB article about [programmatic input component focusing
Consider setting `DebounceDelay="0"` to the component inside the editor template. This is how the default editors in all Telerik Blazor components work. Otherwise, fast users may try to save changes before the data item in edit mode receives the new value.

#end

#adornments
## Adornments

The component allows you to add custom elements as prefixes and suffixes. [Read more about how to render custom adornments before and after the input element...]({%slug common-features/input-adornments%})
#end

#floating-label-and-preffix
When using the [`PrefixTemplate`]({%slug common-features/input-adornments%}#adding-prefix-in-ui-for-blazor-components) for a component wrapped in a [FloatingLabel]({%slug floatinglabel-overview%}), the label will overlap the prefix.

To ensure both the FloatingLabel and the prefix content are properly displayed, move the label with CSS:

````CSHTML
<style>
.custom-label-class .k-label {
margin-left: 30px;
}
</style>

<TelerikFloatingLabel Class="custom-label-class" Text="Enter email">
<TelerikTextBox @bind-Value="@TextValue"
Width="300px">
<TextBoxPrefixTemplate>
<TelerikSvgIcon Icon="@SvgIcon.Envelop" />
</TextBoxPrefixTemplate>
</TelerikTextBox>
</TelerikFloatingLabel>

@code{
public string TextValue { get; set; }
}
````
#end
2 changes: 1 addition & 1 deletion common-features/dimensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: How dimensions work and are set in the Telerik UI for Blazor compon
slug: common-features/dimensions
tags: telerik,blazor,dimensions,width,height,percent,pixel
published: True
position: 3
position: 7
---

# Dimensions
Expand Down
Loading