Search:

Type: Posts; User: evant

Page 1 of 20 1 2 3 4

Search: Search took 0.35 seconds.

  1. You're looking at this the wrong way. If you want...

    You're looking at this the wrong way. If you want to react when particular data in the vm changes, then bind to those things in the vm.
  2. Replies
    1
    Views
    85

    Are there duplicate ids? Side note, don't use...

    Are there duplicate ids?

    Side note, don't use new for the writer/reader.
  3. [OPEN] 6.5.3.36 classic nightly regression - Too Many Row Widgets

    Test case:



    Ext.define('Foo', {
    extend: 'Ext.Component',
    xtype: 'foo',

    initComponent() {
    console.log('foo', Ext.ComponentQuery.query('foo').length);
  4. [OPEN] RadioGroup with initial value is dirty by default

    Test case: https://fiddle.sencha.com/#view/editor&fiddle/2ave



    var f = new Ext.form.RadioGroup({
    simpleValue: true,
    renderTo: document.body,
    value: 2,
    items: [{
    ...
  5. [OPEN] Bump. This could have performance implications...

    Bump. This could have performance implications for layouts. This change should be more carefully considered.
  6. https://fiddle.sencha.com/#view/editor&fiddle/2arn

    https://fiddle.sencha.com/#view/editor&fiddle/2arn
  7. People use initComponent/Ext.apply because they...

    People use initComponent/Ext.apply because they copy old code without understanding it. If your view is entirely declarative then there's no reason to use it.
  8. As you described it I don't see any issue. ...

    As you described it I don't see any issue.

    Would suggest you post a fiddle: https://fiddle.sencha.com/#view/editor&fiddle/2aqg
  9. Replies
    2
    Views
    89

    A store is a list of records, how are you writing...

    A store is a list of records, how are you writing the bindings when you're attaching the store?

    For example, binding to:



    bind: '{EMAIL}',


    Doesn't make any sense if you have a store,...
  10. Replies
    3
    Views
    112

    It's difficult to say without knowing the...

    It's difficult to say without knowing the details.

    Are subclassing or mixins appropriate?
  11. Looks like a bug, but it's not really related to...

    Looks like a bug, but it's not really related to what OP posted.
  12. It's not expecting items as a parameter to show....

    It's not expecting items as a parameter to show. If you read the docs it's not a valid config.

    Just extend the dialog class if you want a popup.
  13. [OPEN] 6.5.3 nightly regression - Combo doc changes incorrect

    In the 6.5.3 nightly, the modern combo documentation has been modified for the change event to indicate the new value and old value are models.

    From the code:


    /**
    * @event change
    * Fires...
  14. [OPEN] 6.5.3 nightly regression - Element dataview fires deselect on refresh

    Using nightly 6.5.3 modern from 20171204.



    Ext.onReady(function() {
    const makeView = (T, label) => {
    var dv = new T({
    renderTo: document.body,
    width:...
  15. [OPEN] 6.5.3 nightly regression - setActiveItem can't accept a component configuration

    Affects modern.

    Test case:



    Ext.onReady(function() {
    var ct = new Ext.Container({
    renderTo: document.body,
    width: 200,
  16. Ext.application({ name: 'Fiddle', ...

    Ext.application({
    name: 'Fiddle',

    launch: function () {
    var form = new Ext.form.Panel({
    renderTo: document.body,
    viewModel: {
    data: {
    ...
  17. It's a style thing. If you inspect the DOM you...

    It's a style thing. If you inspect the DOM you can see it sets the min-height to 24px, + margins is what gets you the 28px size.
  18. [OPEN] Layout change in nightly introduces DOM write during a read phase

    In the most recent 6.5.3 nightlies, there is a change in measureAutoDimensions which makes modifications to the DOM directly:



    if (ownerContext.clearWidthFromDom) {
    ...
  19. Replies
    3
    Views
    101

    Because autoLoad can also be an object. If...

    Because autoLoad can also be an object.

    If it's true, then it gets set to null, so the only values that can be passed are null or a config object.
  20. Tab disabled state is not bound correctly when using binding

    This issue shows up on Ext 6.5.2 modern.

    https://fiddle.sencha.com/#view/editor&fiddle/2abu

    In the above fiddle:
    - 'Baz' is disabled, because the disabled value is specified directly.
    - 'Bar'...
  21. Replies
    2
    Views
    94

    Configure loadingText as empty:...

    Configure loadingText as empty: https://fiddle.sencha.com/#view/editor&fiddle/2aaf
  22. The behaviour is consistent, see:...

    The behaviour is consistent, see: https://fiddle.sencha.com/#view/editor&fiddle/2a93

    Whether that's desirable or not is a different question.
  23. Try wrapping your code with: ...

    Try wrapping your code with:



    Ext.suspendLayouts();
    store = @grid.getStore()
    store.suspendEvents()
    store.setData([])
    store.resumeEvents()
    @grid.getView().refresh()
  24. Replies
    2
    Views
    204

    Yes, this is the typical approach for building a...

    Yes, this is the typical approach for building a single page Ext app.
  25. I think it's just a Chrome repaint bug. If you...

    I think it's just a Chrome repaint bug. If you inspect the DOM you can see the element is at the size it's supposed to be. Also doesn't occur in FF.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4