Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Mladen Macanović
    @stsrki
    @techierathore we do :) https://commercial.blazorise.com/themes
    S Ravi Kumar
    @techierathore
    Ya I know that 😜 I am talking about someone converting/Creating a new theme for me based on a HTML theme like this (https://github.com/tabler/tabler ) 😊
    Mladen Macanović
    @stsrki
    Yeah, we do that. Just not for free 😅
    S Ravi Kumar
    @techierathore
    That's nice to know , let me know how much it will cost ? (may in private chat if not here ) will start saving for it 😊
    Manuel Larios
    @lariosm

    Hey y'all! I'm having an issue where users are unable to type in decimal values like 12.99 onto the NumericEdit field from a mobile device because the number pad built in to Android and iOS currently does not provide a way to insert decimal points. I currently have my NumericEdit fields written out this way, if it matters.

    <NumericEdit TValue="double?" Decimals="3" @bind-Value="newSample.Weight" />

    Having said that, is there a way to force the mobile device to open up a Qwerty keyboard instead of a number pad when they tap on the fields?

    Mladen Macanović
    @stsrki
    @lariosm does it have at least , on the number pad?
    fastlink30
    @fastlink30
    hi all, with datagrid, is possible when text field wrap not to wrap but write at the end '...' ? there are option for this or must be done via code?
    Mladen Macanović
    @stsrki
    @fastlink30 try text-truncate, if you're using bootstrap
    <DataGridColumn CellClass="@((item)=>"text-truncate")" TItem="Employee" Field="@nameof( Employee.LastName )" Caption="Last Name" />
    fastlink30
    @fastlink30
    @stsrki thanks, but not work, i forgot to write that grid is inside modal, maybe something change
    Mladen Macanović
    @stsrki
    @fastlink30 the problem is that you also need have max-width on cell. otherwise it will always expand
    do CellStyle="@((item)=>"max-width: 50px;")"
    fastlink30
    @fastlink30
    @mladen yes, like this is ok, not the best solution but ok
    Mladen Macanović
    @stsrki
    @fastlink30 the only other way is to use custom CSS selectors but this is much easier I think
    CaiusJard
    @CaiusJard
    Can I use the blazorise fontawesome icons to put text on top using FA's typical mechanisms? https://fontawesome.com/v5.15/how-to-use/on-the-web/styling/layering - I had a quick try, but I think some script(?) is missing that interprets the data-fa-transform= attr
    THere's a note at the top of the page that says "This feature requires that you use our SVG + JS version of Font Awesome." - does B use this 'SVG+JS version of FA' ?
    Mladen Macanović
    @stsrki
    @CaiusJard I don't think so.
    Also, if I remember correctly, there was some problem with the FA JS version used within Blazor/ise
    Manuel Larios
    @lariosm
    Hi @stsrki. Unfortunately, none of the devices I have , on the number pad, which is why I ask if there's any way around it.
    Mladen Macanović
    @stsrki
    Install diferent keyboard ?
    Or override NumericEdit razor component
    Manuel Larios
    @lariosm
    Hi @stsrki. I'll definitely look into overriding the NumericEdit razor component, thanks!
    fatalkam
    @fatalkam
    I am wondering how other people handle a TextEdit with a bind to a class. If someone types in the box but than decides to remove what they typed. The class does not go back to null it just has a empty string.
    CaiusJard
    @CaiusJard
    Treat emptystring and null as the same? string.IsNullOrWhiteSpace? Have the property set null if it is reduced to empty string? What do you want it to do? Why is null different to emptystring?
    fatalkam
    @fatalkam
    since its bound to the class its just a empty string. I just loop though all the strings in the class and set empty to null. But I did not know if there was a better way to do that some how do it from the field
    fastlink30
    @fastlink30
    hi, how to use the DateInputMode.Format of inputmode in dateedit? i need to format dd/MM/yyyy and not dd/MM/aaaa (default)
    also when i exit from numericedit is possible to assign custom visualization of data inside the component?
    Mladen Macanović
    @stsrki
    @fastlink30 DateEdit cannot be formatted because it is built around the native input type="date" element, and as such is in full control by the browser and the system settings. You can use DatePicker instead that supports custom formating
    what is custom visualization?
    fastlink30
    @fastlink30
    @stsrki custom visualization, i enter 123456,52 on numericedit but when exit component or loose focus i see 123.456,52
    is like displayformat on datagrid
    Mladen Macanović
    @stsrki
    @fastlink30 it is not possible at the moment but it is planned for the next version
    CaiusJard
    @CaiusJard
    @stsrki what's the recommended process for making grid columns variable in terms of visibility? If the customer chooses "delivery" they see the "postal code" column appeas. If they toggle it to "collection", they see the "which store" column.. and "delivery or collection?" is a column too.. Can entire columns be hidden with @if in the markup? is there a Visible="some_bool" type thing? or do i just make them basic columns and then tweak their displaytemplate/edittemplate based on an @if ?
    Mladen Macanović
    @stsrki
    @CaiusJard well, in 0.9.5 we will have Display utility to control the column visibility. Until then you can try with CellStyle, HeaderCellStyle, FilterCellStyle to set the display: none
    also, try with the Displayable parameter 🤔
    Mladen Macanović
    @stsrki
    Hey guys, the new Blazorise update is now available https://blazorise.com/news/release-notes/094-7/
    Patrick B
    @PatrickBig
    Maybe I'm a version behind, but I found a minor annoyance with <Addons>
    And I can't really show a screenshot because my proxy blocks uploads of anything to anywhere :| (Woo enterprise!)
    CaiusJard
    @CaiusJard
    @PatrickBig can you take a pic of your screen with your cell?
    Patrick B
    @PatrickBig
    yes, I suppose I can
    CaiusJard
    @CaiusJard
    In terms of hosting it, you can edit anything on stack overflow, upload the file and then copy the url out of the box/cancel the edit to get it onto imgur :D (if it won't host here directly)
    Patrick B
    @PatrickBig
    woof, it looks all sorts of bad but hopefully easy to understand
    And here is the code example that produced that
    <Addons>
        <Addon AddonType="AddonType.Start">
            <AddonLabel>$</AddonLabel>
        </Addon>
        <Addon AddonType="AddonType.Body">
            <NumericEdit TValue="decimal?" @bind-Value="@SomeNumber">
        </Addon>
    </Addons>
    CaiusJard
    @CaiusJard
    I get it; it's like the addon was expected to be at the end, and pulling it off the end and putting it on the start didn't turn around the "corner roundedness" of the textbox, which is still geared for as if the addon is at the end
    Maybe there's some "if textbox has start addon then make left edge straight rectangle else rounded rectangle, if textbox has end addon then make right edge straight rectangle else rounded rectangle" logic that has a copypaste error in.. :D
    Mladen Macanović
    @stsrki
    I fixed something related to round borders recently. On what version you are currently ?
    Patrick B
    @PatrickBig
    Ahh, I might just need to update then. I'm on 0.9.4.4
    Lukas
    @lukasstoecklein_gitlab
    How can I add a column to my DataGrid which is populated from a seperate source? I want it to populate the field when OnReadData is called, and to call my own lambda when I submit an edit. Is this possible with DataGrid?
    Mladen Macanović
    @stsrki
    @lukasstoecklein_gitlab to add new column you can just call dataGridRef.AddColumn(yourColumn);.
    And regarding the lambda, it is not possible at the moment