Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 17 06:15
    lgangler opened #7083
  • May 19 21:16
    driosnav opened #7082
  • May 17 09:10
    zzqhandsome opened #7081
  • May 07 12:09
    niuzhi closed #7080
  • May 07 09:31
    niuzhi opened #7080
  • Mar 21 04:00
    dfsmirnov closed #6672
  • Mar 07 10:32
    jacknevitt closed #6341
  • Mar 02 13:40
    kiranjoshy123 opened #7079
  • Feb 28 16:53
    pranaypaine edited #7078
  • Feb 28 16:52
    pranaypaine opened #7078
  • Feb 20 04:23
    eablokker closed #7077
  • Feb 20 04:03
    eablokker opened #7077
  • Feb 16 17:42
    neokio closed #4475
  • Feb 16 17:41
    neokio closed #5011
  • Feb 16 17:38
    neokio closed #6173
  • Feb 13 05:27
    Fayozbekj opened #7076
  • Feb 02 09:26
    tsodring opened #7075
  • Jan 22 14:54
    dfridrich closed #6475
  • Jan 17 13:07
    yopiti edited #7074
  • Jan 17 13:06
    yopiti opened #7074
Jack Lukic
@jlukic
It's a bit broader dream though, and so for now, its a bit of a slog to figure it out
and I apologize for not being able to work on major upgrades to SUI as frequently as prior periods
If anyone knows any bitcoin millionaires who share this kind of dream, send them my info ;)
Artus Kolanowski
@witrin
@jlukic Tough words! I feel you totally and this is a point we are getting political. The current system we are living in (for decades) is not made for unleash the best in all of us. But there are still people trying to living a dream. That's great, really! Unfortunately I've also no answers at the moment to those questions and I'm stuck somehow in this rat race we all are in, but fortunately I'm in a much better position than more than 50 %. Currently I'm only able to say keep the good work up, stay healthy and follow your dreams. Thank you for your hard work and I'm looking ahead positive! It will getting better I know that :). I wish you all a happy new year! We will see us in 2019 ...
PS: Regarding the bitcoin millionaires: I will do that! ;)
Yevhenii Kurtov
@lessless
Hi folks! I'm dynamically updating Dropdown list with $('#group').dropdown({values: resp}); and it happens so that I should not allow for dropdown to be empty. But that is exactly what happens after update - there is no selected value. How to fix that?
Indrek Siitan
@indreksiitan
$('#group').dropdown({values: resp}).val('xx') ?
Yevhenii Kurtov
@lessless
Not really:
resp = [{name: "Apple", value: 1}]
$('#group').dropdown('change values', resp).val(resp[0]); //doesn't work
$('#group').dropdown('change values', resp).val(resp[0].value); //doesn't work
$('#group').dropdown('change values', resp).val(resp[0].name); //doesn't work
Indrek Siitan
@indreksiitan
but something like this?
$('#group').dropdown('change values', resp); $('#group').val($('#group option:first").attr('value'));
Yevhenii Kurtov
@lessless
.dropdown('set selected', resp[0].value); works but I had a hope that there is an option to disallow empty values and that Dropdown will pick the first value automatically
Mikhail Kirillov
@w96k
@jlukic Hey, thank you for your work, sui is still best css solution for front-end imo, I would like to donate you with patreon, so if you have time, would be nice if you will create a page there. Also might be an option to use https://opencollective.com/
Indrek Siitan
@indreksiitan
Patreon sounds interesting. if that would help, i'd gladly chip in a few hundred a month from my company
Yevhenii Kurtov
@lessless
zomg, the dropdown value is not being set after 'change value' command.
$('#group').dropdown('change values', resp);
$('#group').dropdown('refresh');
$('#group').dropdown('set selected', resp[0].value)
$('#group').val($('#group option:first').attr('value'))

$('#group').val() # => null
$('#group').val($('#group option:first').attr('value')) working from the browser console, but not from the script
Christian
@cjlmiles_twitter
I'm struggling to get a form to show nicely in a popup - in particular the textarea isn't wide enough
Christian
@cjlmiles_twitter
Aha - had to use min-width as per the doco
Indrek Siitan
@indreksiitan
are you using the "fluid" keyword?
Christian
@cjlmiles_twitter
I wasn't - should I?
Indrek Siitan
@indreksiitan
I in most cases do - this sets the elements to maximum available width
Indrek Siitan
@indreksiitan
btw, is there a way to group a segment with a button and/or a dropdown?
Screenshot 2017-12-22 21.04.26.png
i.e - have that "add a note" there as a button. or as a dropdown with actions
Honest
@honestxll
Hi folks, I have an issue when I use dropdown
$('select.dropdown')
      .dropdown({
        values: [
          { name: '请选择', value: '', },
          { name: '高中', value: '1' },
          { name: '大专', value: '2' },
          { name: '本科', value: '3' },
          { name: '硕士研究生', value: '4' }
        ]
      })
    ;
when I change the dropdown value, the form validation does not pass
$('form')
      .form({
        fields: {
          dropdown: {
            identifier: 'dropdown',
            rules: [{
              type: 'empty',
              prompt: 'Please select a dropdown value'
            }]
          }
          }
        }
      })
    ;
Honest
@honestxll
Use the following method to solve this problem
$('select.dropdown')
      .dropdown({
        values: [
          { name: '请选择', value: '' },
          { name: '高中', value: '1' },
          { name: '大专', value: '2' },
          { name: '本科', value: '3' },
          { name: '硕士研究生', value: '4' },
        ],
        onChange: function(value) {
          $('select.dropdown')
            .dropdown('set selected', value)
          ;
        }
      })
    ;
Arsen Stahanov
@ArStah
Hey everyone, is it possible to do navbar this way?
<div class="ui attached stackable menu">
    <div class="ui container">
        <a class="item">
            This must be in the left side
        </a>
        <a class="item">
            This must be in the middle
        </a>
        <a class="item">
            This must be in the right side
        </a>
    </div>
</div>
Billy.Zheng
@zw963
@jlukic ,what is OS ?
Indrek Siitan
@indreksiitan
Open Source
Philip Metzger
@philmetzger
anyone know a good react/semantic solution for a search input/dropdown where you can search for something and it does a request to the server and displayed the result in a dropdown?
Amol Mittal
@guacamoly
after a long time.. finally getting to slowly updating the sketch ui kit for semantic-ui: https://github.com/guacamoly/semantic-ui-kit-for-sketch
I posted a few input and button updates. Would help to know what features to prioritize. Any suggestions?
Indrek Siitan
@indreksiitan
nice :)
Kate Austen
@gomestai
hi guys
modal mountNode not working
i'm sending mountNode like
<SuccessModal mountNode={this} />
as a prop
and inside of my successmodal component
<Modal basic size='small' open={this.state.open} mountNode={this.props.mountNode} closeOnDimmerClick={false}>
and it fails everything
I want modal's dimmer run only inside of a specific component
Romans Malinovskis
@romaninsh
@jlukic don’t be afraid to discuss your situation and ask for help. Without you project is screwed. No one wants that. Send out email to everyone directly asking for support. Also creating fundraiser for next version could be a good way to sustain long term too.
It’s a mindset. You should work for “community” not “yourself”.
Another thing you could do is to set up site for selling SUI themes.
Kate Austen
@gomestai
@romaninsh do you have any idea about my situation
Romans Malinovskis
@romaninsh
hi, no.
im quite bad at css and js.
Kate Austen
@gomestai
@anyone please help im really stuck at this
Indrek Siitan
@indreksiitan
@gomestai - this seems to be more a React question rather a Semantic question, sorry :(
Kate Austen
@gomestai
but there is no react room in gitter :( and also in react documentation of semantic ui, there is no clear explanation about this